import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { marked } from 'marked'
import DOMPurify from 'dompurify'
import '@fortawesome/fontawesome-free/css/all.css'

const app = createApp(App)

app.use(router)

// Make marked and DOMPurify available globally
app.config.globalProperties.$marked = marked
app.config.globalProperties.$DOMPurify = DOMPurify

app.mount('#app')